<?php
	include_once('class/autoload.php');
	try {
		$db = new MyPDO("mysql:host=hostinger.fr;dbname=u298394359_root","u298394359_root","password");
		
		echo "Connexion reussie\n\n";
		$PrepREQ = new PreparationREQ($db);
		$preparation = $site->preparereq();
		$preparation->InsertEleve(1,1,'Delaporte', null, null, null, null, null, null); 
	} catch (Exception $e) {
		die("Impossible de se connecter: " . $e->getMessage());
	}
	
?>
